From: Matthieu Gallien Date: Fri, 7 Mar 2025 08:23:33 +0000 (+0100) Subject: remove unused capture of this in one lambda X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~1^2~26^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=809642791dad07a829cb22b445a383de42b28f99;p=nextcloud-desktop.git remove unused capture of this in one lambda Signed-off-by: Matthieu Gallien --- diff --git a/src/libsync/accessmanager.cpp b/src/libsync/accessmanager.cpp index 40ba4fb93..34239a2fa 100644 --- a/src/libsync/accessmanager.cpp +++ b/src/libsync/accessmanager.cpp @@ -36,7 +36,7 @@ AccessManager::AccessManager(QObject *parent) : QNetworkAccessManager(parent) { setCookieJar(new CookieJar); - connect(this, &QNetworkAccessManager::authenticationRequired, this, [this](QNetworkReply *reply, QAuthenticator *authenticator) { + connect(this, &QNetworkAccessManager::authenticationRequired, this, [](QNetworkReply *reply, QAuthenticator *authenticator) { if (authenticator->user().isEmpty()) { qCWarning(lcAccessManager) << "Server requested authentication and we didn't provide a user, aborting ..."; authenticator->setUser(QUuid::createUuid().toString());